﻿@{
    ViewBag.Title = "Bootstrap启动";
}
@using UcAsp.Net.Model;
@using UcAsp.Net.BLL;
@using UcAsp.Net.Comm
@model List<UcAsp.Net.Model.Articles>
@(new HtmlString(AdvConfig.GetAdvPositions("AD1").AdvHtml))
<div class="container-fluid best_teacher">
    <div class="row-fluid">课程推荐</div>
    @foreach (ArticelsViews art in ArticlesBLL.GetSubject(1))
    {
        <div class="kecheng span7">
            <a href="/@art.CagegorieShowPath/@if (string.IsNullOrEmpty(art.ShowPath))
                                             {@art.ID<text>.shtml</text>}
                                             else
                                             {@art.ShowPath<text>.shtml</text>}">
                <img src="@art.IconUrl" border="0" alt="@art.Title" />

            </a>
        </div>
    }
</div>
<div class="container-fluid best_teacher">
    <div class="row-fluid">师资推荐</div>
    @foreach (ArticelsViews art in ArticlesBLL.GetSubject(2))
    {
        <div class="teacher span3">
            <a href="/@art.CagegorieShowPath/@if (string.IsNullOrEmpty(art.ShowPath))
                                             {@art.ID<text>.shtml</text>}
                                             else
                                             {@art.ShowPath<text>.shtml</text>}">
                <img src="@art.IconUrl" border="0" alt="@art.Title" />

                <div class="teacher_name" style="text-align: center">
                    @(UcAsp.Net.Comm.Utils.ClearPart(art.Title, 20))
                </div>
            </a>
        </div>
    }
</div>
<!--
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12 adv2">
            <div id="fcbx">
                @(new HtmlString(AdvConfig.GetAdvPositions("AD2").AdvHtml))
            </div>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span8">
            @{
                for (int i = 1; i < 11; i++)
                {
                    
                <div class="span6" style="float: left; margin: 0px; padding: 0px;">
                    <div>@SubjectsConfig.GetSubjects(i).SubjectName</div>
                    @foreach (ArticelsViews art in ArticlesBLL.GetSubject(i))
                    {
                        <a href="/ShowMessage/@if (string.IsNullOrEmpty(art.ShowPath))
                                              {@art.ID<text>.shtml</text>}
                                              else
                                              {@art.ShowPath<text>.shtml</text>}">
                            @(UcAsp.Net.Comm.Utils.ClearPart(art.Title, 20))
                        </a>
                    }
                </div>
                }
            }
        </div>
        <div class="span4">
            @(new HtmlString(AdvConfig.GetAdvPositions("AD4").AdvHtml))
        </div>
    </div>
</div>
-->
